package com.xg.utils;

import java.util.concurrent.TimeUnit;

/**
 * @author MI
 * @ClassName TimeUtils.java
 * @createTime 2021年10月09日 09:32:00
 */
public class TimeUtils {
    public static void sleep(Integer delayTime) {
        if (delayTime != null && delayTime > 0) {
            try {
                TimeUnit.SECONDS.sleep(delayTime);
            } catch (InterruptedException e) {
            }
        }
    }
}
